]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Use better fitting color for non ARGB tray icons
authorAdel Gadllah <adel.gadllah@gmail.com>
Fri, 2 Oct 2009 19:36:46 +0000 (21:36 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Sun, 4 Oct 2009 08:02:37 +0000 (10:02 +0200)
Currently we use 0xefefefff as a background color for non ARGB tray icons,
which looks out of place (i.e does not fit the panel's background gradient).

Change it to 0x0b0b0bff to fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=597148

js/ui/panel.js

index 58803b30a634d644c0a2547a9015e64ab2bee18b..5108bfdd909f3b00cc0bb28e58f616447949d88c 100644 (file)
@@ -55,7 +55,7 @@ const TRAY_SPACING_MIN = 8;
 // Used for the tray icon container with gtk pre-2.16, which doesn't
 // fully support tray icon transparency
 const TRAY_BACKGROUND_COLOR = new Clutter.Color();
-TRAY_BACKGROUND_COLOR.from_pixel(0xefefefff);
+TRAY_BACKGROUND_COLOR.from_pixel(0x0b0b0bff);
 const TRAY_BORDER_COLOR = new Clutter.Color();
 TRAY_BORDER_COLOR.from_pixel(0x00000033);
 const TRAY_CORNER_RADIUS = 5;